projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de4703
)
imx: mx7: default enable non-secure mode
author
Peng Fan
<
[email protected]
>
Fri, 23 Oct 2015 02:13:05 +0000
(10:13 +0800)
committer
Stefano Babic
<
[email protected]
>
Thu, 12 Nov 2015 16:31:31 +0000
(17:31 +0100)
Support PSCI and switch to non-secure mode when booting linux.
Signed-off-by: Peng Fan <
[email protected]
>
Signed-off-by: Frank Li <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Cc: Fabio Estevam <
[email protected]
>
include/configs/mx7_common.h
patch
|
blob
|
history
diff --git
a/include/configs/mx7_common.h
b/include/configs/mx7_common.h
index ffe4d81656120b1a9f78ff54faad37f0bd8cd597..5615a348e8dbf3d62b733da3440f9fc5ec12f7ba 100644
(file)
--- a/
include/configs/mx7_common.h
+++ b/
include/configs/mx7_common.h
@@
-91,4
+91,15
@@
#define CONFIG_CMD_FUSE
#define CONFIG_MXC_OCOTP
+/*
+ * Default boot linux kernel in no secure mode.
+ * If want to boot kernel in secure mode, please define CONFIG_MX7_SEC
+ */
+#ifndef CONFIG_MX7_SEC
+#define CONFIG_ARMV7_NONSEC
+#define CONFIG_ARMV7_PSCI
+#define CONFIG_ARMV7_PSCI_NR_CPUS 2
+#define CONFIG_ARMV7_SECURE_BASE 0x00900000
+#endif
+
#endif